<DOCTYPE html>
<html>
<head>
    <title>团购详情</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php foreach ($this->config->item('style_css_paths') as $css): ?>
      <link rel="stylesheet" href=<?php echo $css ?> />
    <?php endforeach ?>
    <?php foreach ($this->config->item('style_js_paths') as $js): ?>
      <script type="text/javascript" src=<?php echo $js?> ></script>
    <?php endforeach ?>
    <script type="text/javascript" src=<?php echo base_url("/scripts/logic/uihelper.js") ;?>></script>
</head>
<body>

        <div data-role="page" id="grouphistorydetail"> 
            <div data-role="header" data-tap-toggle="false" data-theme="a"  data-position="fixed">
                <a href="#" class="ui-btn" data-rel="back">返回</a>
                <h1>团购历史</h1>
            </div>   
            <div role="main" class="ui-content">
                <div class="ui-corner-all custom-corners">
                  <div class="ui-bar ui-bar-a">
                    <h3>团购历史</h3>
                  </div>
                  <div class="ui-body ui-body-a">
                    <p>这是您的订单信息，请在有效日期内持验证码到店铺消费，祝您愉快！</p>
                  </div>

                </div>

                <div data-role="collapsible" data-collapsed-icon="carat-d" data-collapsed="false" data-expanded-icon="carat-u">
                <h4>重要信息：</h4>
                <ul data-role="listview" data-inset="false">
                    <li>KEY: <?php echo $group_detail['group_bill_id'] . $group_detail['bill_gen_key'];?></li>
                    <li>团购名称: <?php echo $group_detail['group_name'];?></li>
                    <li>团购单价: <?php echo $group_detail['group_price'];?> 元</li>
                    <li>团购总价: <?php echo $group_detail['group_price'] * $group_detail['buy_amount'];?> 元</li>
                    <li>购买数量: <?php echo $group_detail['buy_amount'];?></li>
                    <li>有效日期: <?php echo $group_detail['use_deadline'];?></li>
                    <li>购买日期: <?php echo $group_detail['bill_time'];?></li>
                    <li>店铺地址: <?php echo $group_detail['store_addr'];?></li>
                    <li>下单姓名: <?php echo $group_detail['user_name'];?></li>
                    <li>下单电话: <?php echo $group_detail['user_phone'];?></li>
                    <li>下单邮箱: <?php echo $group_detail['user_mail'];?></li>
                    <li>下单备注: <?php echo $group_detail['bill_note'];?></li>
                </ul>
            </div>
                
                <li class="ui-body ui-body-a">
                    <fieldset class="ui-grid-a">
                        <div class="ui-block-a"><a href=<?php echo site_url("welcome");?> class="ui-btn ui-corner-all ui-btn-a">返回主页</a></div>
                        <div class="ui-block-b"><a href=<?php echo site_url('grouppurchase/groupdetail?isHistory=y&group_id=') . $group_detail['group_id'];?> class="ui-btn ui-corner-all ui-btn-b">团购详情</a></div>
                    </fieldset>
                </li>
            </div>   
            <div data-role="footer" data-tap-toggle="false" data-position="fixed">
                <div data-role="navbar">
                  <ul>
                    <li><a href=<?php echo site_url("welcome") ;?>  data-icon="home">主页</a></li>
                    <li><a href=<?php echo site_url("welcome/shop") ;?> data-icon="shop" class="ui-btn-active ui-state-persist">店铺</a></li>
                    <li><a href=<?php echo site_url('welcome/history') ;?>  data-icon="check">历史订单</a></li>
                    <li><a href=<?php echo site_url("welcome/info") ;?> data-icon="info">个人信息</a></li>
                  </ul>
                </div>
            </div>
     </div>

    
</body>
</html>